package com.chtw.oasystem.mapper;

import com.chtw.oasystem.bean.Depts;
import com.chtw.oasystem.bean.DeptsExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface DeptsMapper {
    int countByExample(DeptsExample example);

    int deleteByExample(DeptsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Depts record);

    int insertSelective(Depts record);

    List<Depts> selectByExample(DeptsExample example);

    Depts selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Depts record, @Param("example") DeptsExample example);

    int updateByExample(@Param("record") Depts record, @Param("example") DeptsExample example);

    int updateByPrimaryKeySelective(Depts record);

    int updateByPrimaryKey(Depts record);
}